package com.lagou.wwyan.rpc.server.factory;

/**
 * 简单的对象工厂，直接创建对象
 */
public class SimpleRpcBeanFactory implements RpcBeanFactory {
    @Override
    public <T> T getBean(Class<T> tClass) throws Exception {
        T t = tClass.getConstructor().newInstance();
        return t;
    }
}
